/* 
  该文件专门用于暴漏一个store对象，整个应用只有一个store对象
*/
// 引入legacy_createStore重命名为createStore
import { legacy_createStore, combineReducers } from 'redux'
// 引入为组件服务的reducer
import countReducer from './modules/count_reducer'
import goodsReducer from './modules/goods_reducer'





const reducer = combineReducers({
  countReducer,
  goodsReducer
})


export default legacy_createStore(reducer)


